package pl.edu.agh.io.gpstracker.client.dto;

import java.util.List;

public class TrackDto extends BaseDto {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1735165686419546222L;

	public TrackDto() {
	}

	private Long id;
	private String name;
	private Long distance;
	private UserDto user;
	private List<TracksequanceDto> tracksequenceList;

	public Long getDistance() {
		return distance;
	}

	public TrackDto(Long id, String name, Long distance, UserDto user,
			List<TracksequanceDto> tracksequenceList) {
		super();
		this.id = id;
		this.name = name;
		this.distance = distance;
		this.user = user;
		this.tracksequenceList = tracksequenceList;
	}

	public Long getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public List<TracksequanceDto> getTracksequenceList() {
		return tracksequenceList;
	}

	public UserDto getUser() {
		return user;
	}

	public void setDistance(Long distance) {
		this.distance = distance;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setTracksequenceList(List<TracksequanceDto> tracksequenceList) {
		this.tracksequenceList = tracksequenceList;
	}

	public void setUser(UserDto user) {
		this.user = user;
	}
}
